#include "../utils/astr.h"
#include <stdio.h>
#include <stdlib.h>

int main(int argc, char *argv[])
{
    astr_t *str = astr_init("hello,world");
    printf("str(c:%d,l:%d):%s\n", str->cap, str->len, str->data);
    astr_append(str, "cool dog");
    printf("str(c:%d,l:%d):%s\n", str->cap, str->len, str->data);
    astr_deinit(&str);
    return 0;
}